Package-level declarations

Contains different types of errors returned by Bluedot SDK during it's operation

Types

Link copied to clipboard
open class BDAuthenticationError(val reason: String, val isFatal: Boolean = true) : BDError

Authentication error - Invalid ProjectId/ Global config not valid/ Access Denied

Link copied to clipboard
data class BDGeoTriggerError(val reason: String, val isFatal: Boolean = false) : BDError

Geo-trigger error - Represents Errors while starting or stopping geo-trigger

Link copied to clipboard
open class BDNetworkError : BDError
Network error refers to the internet connectivity problem
Link copied to clipboard
class BDPersistenceError(val reason: String, val isFatal: Boolean = true) : BDError

Persistence error - Represents Errors while accessing DB

Link copied to clipboard
class BDRemoteConfigError(val reason: String, val isFatal: Boolean = false) : BDError

This is generated for any error occurred while accessing/downloading RemoteConfig for the project. Remote config is downloaded as a part of Initialization of the SDK

Link copied to clipboard
class BDTempoError(val reason: String, val isFatal: Boolean = false) : BDError

Tempo error - Represents Errors while starting or stopping Tempo

Link copied to clipboard
class ChatAIError(val reason: String = "Chat AI Error", val isFatal: Boolean = false) : BDError

This is generated for any error occurred while accessing the Brain Chat AI

Link copied to clipboard
Custom Event Metadata is not set properly.
Link copied to clipboard
open class DiskFullError : BDError
DiskFullError is generated when the database cannot be initialised due to a disk full exception.
Link copied to clipboard
ForegroundNotification is not set.
Link copied to clipboard

InvalidProjectIdError is generated when the Invalid ProjectId is passed in initialise

Link copied to clipboard
This error tells the client application that the permission to use location services are not granted.
Link copied to clipboard
This error tells the client application that the location service is not turned on which is required by BlueDot Service
Link copied to clipboard
Rule set download error
Link copied to clipboard
TempoAlreadyInProgressError is generated when already Tempo tracking is ongoing and a new startTempoTracking request is called
Link copied to clipboard
TempoInvalidDestinationIdError is generated when the destinationId is not valid